<template>
	<view class="page-appoint">
		<view class="appoint-item" v-for="item in list" :key="item.id" >
				<view>充值时间：{{item.create_time}}</view>
				<view>充值金额：{{item.pic}}</view>
				<view>充值用户：{{item.udata.cname}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[]
			}
		},
		created() {
			this.init()
		},
	
		methods: {
			async init() {
				
					let data = {
						uid:uni.getStorageSync('uid')
					}
				    let res = await this.$api.czjllist(data)	
					console.log(res.data.data)
					this.list = res.data.data
			},
			
		}
	}
</script>

<style lang="scss">
.appoint-item {
	background-color: #fff;
	margin-bottom: 20upx;
	padding: 20upx;
	padding-left: 40upx;
	position: relative;
	>view {
		margin-bottom: 20upx;
	}
	image {
		width: 40upx;
		height: 40upx;
		position: absolute;
		top: 20upx;
		right: 40upx;
		&.edit {
			right: 120upx;
		}
	}
}
</style>
